//
//  WDBatteryInfoModel.h
//  wd-serviceapp
//
//  Created by Bin Tang on 2024/8/29.
//

#import "TYZBaseModel.h"
#import "WDBatteryModelModel.h"

NS_ASSUME_NONNULL_BEGIN

/// 电池信息
@interface WDBatteryInfoModel : TYZBaseModel

/// 电池品牌
@property (nonatomic, copy) NSString *batteryBrandValue;

/// 电池型号id
@property (nonatomic, assign) NSInteger batteryModelId;

/// 电池组序号
@property (nonatomic, copy) NSString *batteryNo;

/// 电池类型
@property (nonatomic, copy) NSString *batteryTypeValue;

/// 冷却方式
@property (nonatomic, copy) NSString *coolingTypeValue;

/// 电池型号
@property (nonatomic, strong) WDBatteryModelModel *batteryModel;



@property (nonatomic, assign) NSInteger id;

/// 电芯单体供应商
@property (nonatomic, copy) NSString *chipFactory;

/// 电芯种类
@property (nonatomic, assign) NSInteger chipType;

/// 电芯种类
@property (nonatomic, copy) NSString *chipTypeValue;

/// 创建部门
@property (nonatomic, assign) NSInteger createDept;

/// 创建时间
@property (nonatomic, copy) NSString *createTime;

/// 创建人
@property (nonatomic, assign) NSInteger createUser;

/// 数据来源： 0新建 1导入 2同步
@property (nonatomic, assign) NSInteger dataSource;

/// 电池包供应商名称
@property (nonatomic, copy) NSString *factoryName;

/// 电池包供应商代码
@property (nonatomic, copy) NSString *factoryNum;

/// 导入时间
@property (nonatomic, assign) double importTime;

@property (nonatomic, assign) NSInteger isDeleted;

/// 电池包零部件号
@property (nonatomic, copy) NSString *partNo;

/// 备注
@property (nonatomic, copy) NSString *remark;

/// 电池包序列号
@property (nonatomic, copy) NSString *serialNo;

/// 业务状态
@property (nonatomic, assign) NSInteger status;

/// 租户ID
@property (nonatomic, copy) NSString *tenantId;

/// 电池电量(mAh)
@property (nonatomic, strong) NSNumber *totalEnergy;

/// 更新时间
@property (nonatomic, copy) NSString *updateTime;

/// 更新人
@property (nonatomic, assign) NSInteger updateUser;

/// 车辆id
@property (nonatomic, assign) NSInteger vehicleId;

/// 车辆VIN
@property (nonatomic, copy) NSString *vehicleVin;

@end

NS_ASSUME_NONNULL_END

/*
 {"":"121313131332","partNo":"12343535365363","factoryName":"ceshi3","factoryNum":"12131313131","chipType":1,"chipFactory":"113134141","totalEnergy":666.0,"remark":"","dataSource":1,"importTime":1728743622633,"vehicleId":"1658074797717221378","vehicleVin":"LEWY0DJU7MF148570","chipTypeValue":"测试类型1"}
 */
